package com.chuangshi.core.vote.player.controller.mobile.request;

import com.chuangshi.core.kit.Request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * 人员信息移动端V1获取列表的接收参数
 *
 * @author ggliming
 * @date 2019-02-21
 */
@ApiModel(description = "人员信息移动端V1获取列表的接收参数")
public class PlayerMobileV1ListRequest extends Request {

    @ApiModelProperty(value = "岗位编号", required = true, position = 10)
    @NotNull(message = "岗位编号不能为空")
    private String positionId;

    @ApiModelProperty(value = "是否根据投票数排序", required = true, position = 10)
    @NotNull(message = "是否根据投票数排序不能为空")
    private Boolean sortByVoteNum;

    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }

    public Boolean getSortByVoteNum() {
        return sortByVoteNum;
    }

    public void setSortByVoteNum(Boolean sortByVoteNum) {
        this.sortByVoteNum = sortByVoteNum;
    }
}